import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes=[
    // {
    //     path:'/',
    //     redirect:'/wsl-button',
    //     component :()=>import('@/components/basic/wsl-button/index')
    // },
    {
        path:'/wsl-button',
        component :()=>import('@/components/basic/wsl-button/index')
    },
    {
        path:'/wsl-swiper',
        component :()=>import('@/components/others/swiper')
    },
]


const router = new VueRouter({
    routes,
    mode:'history'
})

export default router